home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / utmisc2 / makepass.rdm < prev    next >
Text File  |  1996-05-20  |  3KB  |  81 lines

  1. Short:    Customised Password + Asm src
  2. Author:   Anthony Peck
  3. Uploader: Anthony.Peck@Radford.act.edu.au
  4. Type:     util/misc
  5.  
  6.         -------------------------------------------------------------
  7.                                   MakePass        
  8.  
  9.                                   A N Peck        
  10.                                                   
  11.                                     1995          
  12.  
  13.         -------------------------------------------------------------
  14.  
  15.         Now  that  my  number  one son is adept at turning on Daddy's
  16.         computer  and  inserting  all  manner  of items into the disk
  17.         drive,  I thought it about time that I looked into the matter
  18.         of password protection for my Amiga.
  19.  
  20.         As  usual there was a plethora of good PD programs available,
  21.         and as usual there wasn't one which exactly fitted the bill.
  22.  
  23.         What I needed were the following features...
  24.  
  25.         * Auto activation on startup (i.e. no mouse required)
  26.  
  27.         * One program (i.e. no separate password file)
  28.  
  29.         * Encrypted password
  30.  
  31.         * Coded entry (i.e. can't see what is being entered)
  32.  
  33.         * No continuous trying allowed (i.e. 3 strikes and you're out)
  34.  
  35.         With all that in mind, the first step was to code the program.
  36.         There  was  a  small problem however.  Every time I wanted to
  37.         change the password, I had to change the code and recompile.
  38.         So  I  started  on another program which does all that fiddly
  39.         work and then just presents you with the finished product.
  40.  
  41.         The  result  is MakePass.  It employs Chas Wyndam's excellent
  42.         program  S-Omni to execute a script file which leads the user
  43.         through the selection and production of an encrypted password
  44.         program imaginatively called PassWord.
  45.  
  46.         As  well,  the  source  code is included and one option while
  47.         making  your  personalised  PassWord  program is to copy this
  48.         source   code   to  ram:  so  that  you  can  make  your  own
  49.         modifications (e.g. encryption, etc.).
  50.  
  51.         Both are provided with icons, however the Password program is
  52.         of course only possible to be run from CLI, and I'll leave it
  53.         to  you  to  alter  the  project icon for the file Password.a
  54.         (source)  to  select  your  favourite  text viewer (fullview,
  55.         naturally!).
  56.         
  57.         S-Omni  usually leaves behind a directory called Omni in ram:
  58.         which  contains all the programs used by the script file.  In
  59.         this  case  however,  given  that  the  program  produced  is
  60.         encrypted, I have deleted all these files prior to the script
  61.         completion,  so  as  to give you some added safety, and so if
  62.         you look into this vestigial directory you'll find it empty.
  63.  
  64.         The  resultant  PassWord  program  is  only  532  bytes and I
  65.         recommend  you plop it into your "C" directory and then alter
  66.         your  startup-sequence  to  make  "Password" the  first line.
  67.  
  68.         It  ain't foolproof, and a good hex-editor/dissassembler will
  69.         lead  you  to  the  encryption  technique,  but  it does work
  70.         against the ravages of a typical 2 year old dynamo.
  71.  
  72.         The program and its source are free, however if they stomp on
  73.         your  Ami please don't blame me.  I'm only the piano player...
  74.  
  75.         Anthony Peck
  76.         68 Woralul St
  77.         Waramanga ACT 2611
  78.         AUSTRALIA
  79.  
  80.         Anthony.Peck@Radford.act.edu.au
  81.